package com.youthHostel.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youthHostel.pojo.flatplay;

public interface FlatplayService {
	PageInfo<flatplay> findAll(int index);
	
	List<flatplay> findByName(String name,int index);

	int deleteByPrimaryKey(Integer id);

	int insert(flatplay record);

	flatplay selectByPrimaryKey(Integer id);

	int update(flatplay record);
}
